package edu.sctu.alex.May.day20150511;

/**
 * Created by user03 on 2015/5/11.
 */
public class FatherClass {
    public String name;
    public String action;
    public int age;

    public FatherClass(String name, String action, int age){

         this.action = action;
         this.age = age;
         this.name = name;
    }
    protected void printIfo(){
        System.out.println("姓名："+name);
        System.out.println("年龄"+age);
        System.out.println("动作"+action);

    }

}
